
/**
 * 查询提料单列表
 */
function queryFeedsheetList() {
    $.ajax({
        url :   "http://localhost:8080/userCore/material/record/queryList",
        type:   "post",
        data:JSON.stringify({}),
        contentType:"application/json;",
        success:function(data) {
            console.log(data)
        }
    });
}

/**
 * 提料单审核 （recordId：记录Id，state：审核状态(0.审核不通过，1.下一步，2.流程完毕)）
 */
function auditFeedsheet(recordId,state) {
    $.ajax({
        url :   "http://localhost:8080/userCore/material/record/audit",
        type:   "post",
        data:JSON.stringify({recordId:recordId,state:state}),
        contentType:"application/json;",
        success:function(data) {
            alert(data.msg);
        }
    });
}